//
//  BQCycleWebController.m
//  BeeQuick
//
//  Created by Asun on 2017/7/9.
//  Copyright © 2017年 BecomeRich. All rights reserved.
//

#import "BQCycleWebController.h"

@interface BQCycleWebController ()
@property (nonatomic, strong) UIWebView         *webView;

@end

@implementation BQCycleWebController

- (void)viewDidLoad {
    
[super viewDidLoad];



}

- (void)setUrlStr:(NSString *)urlStr{
    
    _urlStr = urlStr;
    
    self.webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    
    self.webView.scrollView.bounces = NO;
    
    [self.view addSubview:self.webView];
    
    NSURL* url = [NSURL URLWithString:urlStr];
    
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    
    [self.webView loadRequest:request];
    
}




@end
